﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenFrameworkCore.Serialize;
using System.Collections.ObjectModel;
using System.Collections.Specialized;
using System.Xml.Serialization;

namespace OpenFrameworkCore.Controls
{
	public class BasicGroupControlContext : OpenFrameworkCore.Controls.BasicControlContext
	{
		private ObservableCollection<string> managedControlNameList;

        /// <summary>
        /// Group에 속해있는 Control의 Name 리스트
        /// </summary>
		[XmlElement]
		public ObservableCollection<string> ManagedControlNameList
        {
            get
            {
				return managedControlNameList;
            }

			set
			{
				managedControlNameList = value;

				RaisePropertyChanged("ManagedControlNameList");
			}
        }

		/// <summary>
		/// 생성자
		/// </summary>
		public BasicGroupControlContext()
		{
			managedControlNameList = new ObservableCollection<string>();
		}
	}
}
